﻿/*----------------------------------------------------------------
//  <copyright file="SmsVerifyCodeEventDataBase.cs" company="MicroCloud@151504200868">
//      Copyright © 2020-2024 MicroCloud Corporation, All rights reserved.
//  </copyright>
//  <site>https://gitee.com/chenmm123/microclouds</site>
//  <last-editor>cmm</last-editor>
//  <last-date>2023-09-14 11:18</last-date>
//----------------------------------------------------------------*/

namespace MicroCloud.SMS.Events
{
    #region "短信验证码事件数据基类"
    /// <summary>
    /// 短信验证码发送事件数据基类
    /// </summary>
    /// <typeparam name="TVerifyCode">验证码短信记录实体类型</typeparam>
    /// <typeparam name="TVerifyCodeKey">验证码短信记录实体主键类型</typeparam>
    public abstract class SmsVerifyCodeEventDataBase<TVerifyCode, TVerifyCodeKey> : EventDataBase
        where TVerifyCode : VerifyCodeBase<TVerifyCodeKey>
        where TVerifyCodeKey : IEquatable<TVerifyCodeKey>
    {
        #region "属性"
        #region "获取或设置 短信操作类型"
        /// <summary>
        /// 获取或设置 短信操作类型
        /// </summary>
        public SmsOperationType OperationType { get; set; }
        #endregion
        #region "获取或设置 验证码短信记录实体集合"
        /// <summary>
        /// 获取或设置 验证码短信记录实体集合
        /// </summary>
        public TVerifyCode[] Entities { get; set; }
        #endregion

        #endregion

    }
    #endregion

}
